﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gpsys.Entity.Adapter
{
    [Serializable]
    public class ReceiveFileConfiguration
    {
        public string FolderPath { get; set; }
        public string FileFilter { get; set; }
        public int DelayInterval { get; set; }
        public string NextWorkflow { get; set; }

        public static ReceiveFileConfiguration CreateDefault()
        {
            return new ReceiveFileConfiguration()
            {
                FolderPath = "c:\\",
                FileFilter = "*.*",
                DelayInterval = 500,
                NextWorkflow = "NextWorkflow"
            };
        }
    }
}
